package org.celery.modules.merchant.service.impl;

import org.celery.modules.merchant.entity.MerchantDeskCategory;
import org.celery.modules.merchant.vo.MerchantDeskCategoryVO;
import org.celery.modules.merchant.mapper.MerchantDeskCategoryMapper;
import org.celery.modules.merchant.service.IMerchantDeskCategoryService;
import org.springblade.core.mp.base.BaseServiceImpl;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.core.metadata.IPage;

/**
 * 商户桌台类别表. 服务实现类
 *
 * @author Celery
 * @since 2021-11-07
 */
@Service
public class MerchantDeskCategoryServiceImpl extends BaseServiceImpl<MerchantDeskCategoryMapper, MerchantDeskCategory> implements IMerchantDeskCategoryService {

	@Override
	public IPage<MerchantDeskCategoryVO> selectMerchantDeskCategoryPage(IPage<MerchantDeskCategoryVO> page, MerchantDeskCategoryVO merchantDeskCategory) {
		return page.setRecords(baseMapper.selectMerchantDeskCategoryPage(page, merchantDeskCategory));
	}

}
